package com.bf.electroplating.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bf.electroplating.pojo.dto.environmentally.EnvironmentallyExamineDTO;
import com.bf.electroplating.pojo.dto.environmentally.EnvironmentallyExamineQueryDTO;
import com.bf.electroplating.pojo.entity.ComEnvironmentallyExamine;
import com.bf.electroplating.pojo.vo.ResultVO;
import com.bf.electroplating.pojo.vo.environmentally.EnvironmentallyExamineVO;

import java.util.List;

/**
 * @author 15451
 * @description 针对表【com_environmentally_examine(环境审查记录表)】的数据库操作Service
 * @createDate 2025-05-09 11:11:32
 */
public interface ComEnvironmentallyExamineService extends IService < ComEnvironmentallyExamine > {

	/**
	 * 分页查询环保审批列表
	 *
	 * @param queryDTO 查询条件
	 * @return 分页结果
	 */
	ResultVO < Page < EnvironmentallyExamineVO > > pageList ( EnvironmentallyExamineQueryDTO queryDTO );

	/**
	 * 新增、编辑环保审批
	 *
	 * @param dto 环保审批信息
	 * @return 操作结果
	 */
	ResultVO < String > saveData ( EnvironmentallyExamineDTO dto );



	/**
	 * 删除环保审批
	 *
	 * @param ids ID列表
	 * @return 操作结果
	 */
	ResultVO < String > delete ( List < String > ids );

	/**
	 * 获取环保审批详情
	 *
	 * @param id ID
	 * @return 环保审批详情
	 */
	ResultVO < EnvironmentallyExamineVO > getDetail ( String id );
}
